package com.xzit.service;

import com.xzit.entity.Account;

import java.util.List;

public interface AccountService {
    void create(Account account);
    List<Account> list();
    Account login(String account, String password);
    void recharge(String account, int amount) throws Exception;
    void consume(String account, int amount);
}
